From 6cfd94aebd8eb84feb537adc4e396e5743e2eef7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 6 Apr 2001 14:42:15 +0000 Subject: [PATCH] (grep-compute-defaults): Use null-device instead of literal /dev/null. Reported by Jens Schmidt . --- lisp/progmodes/compile.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 7bb976d1656..71978477ee3 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -587,8 +587,8 @@ to a function that generates a unique name." grep-command)) (grep-find-use-xargs (format "find . -type f -print | xargs %s" grep-command)) - (t (cons (format "find . -type f -exec %s {} /dev/null \\;" - grep-command) + (t (cons (format "find . -type f -exec %s {} %s \\;" + grep-command null-device) (+ 22 (length grep-command))))))) ;;;###autoload -- 2.30.2